local noDraw = { "CHudHealth", "CHudSuitPower", "CHudBattery" }

local function HideHud( name )
	if table.HasValue( noDraw, name ) then
		return false
	end
end
hook.Add( "HUDShouldDraw", "HideDisHud", HideHud )

local Texture1 = surface.GetTextureID( "gui/gradient_up" )
local Texture2 = surface.GetTextureID( "concrete/concretefloor009a_construct" )

local function DaHud()
	-- EXP
	surface.SetTexture( Texture1 )
	surface.SetDrawColor( Color( 20, 20, 20, 200 ) )
	surface.DrawRect( 10, ScrH() - 30, ScrW() - 20, 25 )
	surface.SetDrawColor( 255, 255, 255, 15 )
	surface.DrawTexturedRect( 10, ScrH() - 30, ScrW() - 20, 25 )
	
	surface.SetTexture( Texture2 )
	surface.SetDrawColor( Color( 242, 178, 27, 255 ) )
	if LocalPlayer().Exp then
		surface.DrawRect( 14, ScrH() - 26, ( LocalPlayer().Exp / GetNextLevelExp() ) * ( ScrW() - 28 ), 17 )
	end
	
	surface.SetDrawColor( 255, 255, 255, 35 )
	surface.DrawRect( 10, ScrH() - 30, ScrW() - 20, 12 )
	surface.SetDrawColor( 200, 200, 200, 255 )
	surface.DrawOutlinedRect( 12, ScrH() - 28, ScrW() - 24, 21 )
end
hook.Add( "HUDPaint", "DrawDisHUD", DaHud )